from Page.page_login_ht import HTLogin
from Tools.tools import DriverTools
from config import BASE_URL_HT


class TestHTLogin():
    def setup_method(self):
        driver = DriverTools.get_driver()
        driver.get("http://121.43.169.97:8082/")
        self.login = HTLogin(driver)

    def teardown_method(self):
        DriverTools.close_driver()

    def test_login_success(self):
        self.login.HTLogin("admin","HM_2023_test", "8888")
    
